package com.example.dynamicschedule.dao;

import com.example.dynamicschedule.bean.CkOrderRecoveryData;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;
@Repository
public interface CkOrderRecoveryDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkOrderRecoveryData record);

    int insertSelective(CkOrderRecoveryData record);

    CkOrderRecoveryData selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkOrderRecoveryData record);

    int updateByPrimaryKeyWithBLOBs(CkOrderRecoveryData record);

    int updateByPrimaryKey(CkOrderRecoveryData record);

    List<CkOrderRecoveryData> selectRecoveryDataList(Map<String, Object> map);

    void insertForeach( List<CkOrderRecoveryData> ckOrderRecoveryDataList);

    List<CkOrderRecoveryData> findByNotificationMethodAndDateTime(Map<String,Object>map);

    List<CkOrderRecoveryData> selectBySerialNumbers(
            Map<String, Object> paramMap);

    void updateForEach(List<CkOrderRecoveryData> mergeCkRecoverDataList);

    void deleteForEach(List<CkOrderRecoveryData> ckOrderRecoveryDataList);
}